                <div class="clearfix">
                	<h1 class="bh_title"><span><?php if(($this->brand <> "Khác")&&($this->DATA['model_name'] == "Khác")):?>
					<?php echo $this->H1?><?php echo " hiệu "?> <?php echo $this->brand ?>
					<?php else:?><?php echo $this->H1?>
					<?php endif?>
					</span></h1>
                </div>
                <div class="clearfix">
                	<div class="col_left pt10">
                    	
						<h2 class="mh_detail"><?php echo $this->name ?></h2>
						
                    	<?php 
							if($this->IS_NO_IMAGE){
                    	?>
                    	
                        <p class="detail_img"><img src="<?php echo $this->ARR_IMG[0]?>" alt="" /></p>
						<?php
							}else{
						?>
						
                         <div id="galleria" style="height:320px;">
                         	
                         	 <?php                                    
                                for($i=1;$i<=count($this->ARR_IMG);$i++){
                             ?>
            				<a href="<?php echo $this->ARR_IMG[$i-1]; ?>" rel="<?php echo str_replace('detail', 'full', $this->ARR_IMG[$i-1]);?>">
            						<img src="<?php echo str_replace('detail', 'full', $this->ARR_IMG[$i-1]); // echo $this->ARR_IMG[$i-1]?>"/>
        					</a>
        					<?php
                                        }                                       
                            ?>
                            </div>
        				
                        <?php  } ?>
 <script type="text/javascript">

    // Load the classic theme
	Galleria.loadTheme('<?=JS_URL?>galleria.classic.min.js');

	// Initialize Galleria
	$('#galleria').galleria({
	//	dataSource: "#source", 
	 //   keepSource: true,
		imageCrop: false,
		lightbox: true,		
		width:300,
		minScaleRatio:1		
		
	});

</script>
 <!--                 
<script type="text/javascript">
   
   if(!window.slider) var slider={};slider.data=[
    <?php
        $comma='';
        for($i=1;$i<=count($this->ARR_IMG);$i++){
    ?>
    <?php echo $comma;?>{"id":"slide-img-<?php echo $i;?>","client":"","desc":""}
    <?php
        $comma=',';
        }
    ?>
    ];
    jQuery (function(){
    <?php if (count ($this->ARR_IMG)<=1):?>    
        jQuery('#slide-controls').hide();
    <?php endif;?>
    jQuery('#slide-runner a').lightBox({fixedNavigation:true});*/
});
</script>
-->  

                    </div>
                    <div class="col_right">
                    	<ul class="detail_content">
                        	<li><h2>Thông tin chi tiết</h2>
                            <dl class="clearfix">
                                <dt>Thương hiệu:</dt>
                                <dd><?php echo $this->brand?></dd>
                                <dt>Model:</dt>
                                <dd><?php echo $this->DATA['model_name'];?> </dd>
                                <dt>Giá:</dt>
                                <dd><?php echo $this->price?></dd>
                                <dt>Năm sản xuất:</dt>
                                <dd><?php echo $this->DATA['year']?></dd>
                                <dt>Số Km sử dụng:</dt>
                                <dd><?php echo $this->DATA['kms']?> &nbsp; Km</dd>                            
                            </dl>
                            </li>
                            <li><h2>Thông tin thêm</h2>
                            <p><?php echo $this->DATA['desc'];?></p>
                            </li>
                            <li class="last"><h2>Thông tin người bán</h2>
                            <dl class="clearfix">
                                <dt>Họ tên:</dt>
                                <dd><?php echo $this->USERNAME;?></dd>
                                <dt>Email:</dt>
                                <dd><?php echo $this->ARR_USER['email'];?></dd>
                                <dt>Thành Phố:</dt>
                                <dd><?php echo $this->city?></dd>
                                <dt>Điện thoại:</dt>
                                <dd><?php echo $this->ARR_USER['mobile'];?><?php echo $this->ARR_USER['phone'];?></dd>
                           	</dl>
                            </li>
                        </ul>
						</div>
                     
					<div class="detail_back">
                        <?php if ($_SERVER["HTTP_REFERER"]):?>
                        <a href="<?php echo $_SERVER["HTTP_REFERER"]?>" class="click_arrow_btn02"><span>Quay về</span></a>
                        <?php else:?>
                            <a href="/" class="click_arrow_btn02"><span>Quay về</span></a>
                        <?php endif;?>
                        <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=237693336274337&amp;xfbml=1"></script><fb:like href="" send="false" layout="button_count" width="50" show_faces="true" action="like" font="arial"></fb:like>
                        
                        <a  class="face_ico" name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a>
                        <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
                	</div>
                </div>